
package org.amos.upms.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.amos.core.basic.base.BaseEntity;

/**
 * 数据字典
 *
 * @author CodeGenerator
 * @since 2020-12-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_dict")
@Schema(name = "AmosDict对象", description = "数据字典")
public class Dict extends BaseEntity {

    private Long parentId;

    @Schema(description = "字典名称")
    private String name;

    @Schema(description = "字典编码")
    private String code;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "字典排序")
    private Integer sort;

    @Schema(description = "字典类别")
    private Integer type;

    @Schema(description = "状态，1:启用0:禁用")
    private Integer status;

}
